package haizhi.fruitmall.service;

import haizhi.fruitmall.pojo.form.GoodsForm;
import haizhi.fruitmall.pojo.po.Goods;

import java.util.List;

/**
 * Created by richa on 2017/8/23
 */

public interface GoodsService {

    Long insert(GoodsForm form);

    void update(GoodsForm form);

    void delete(Long id);

    Goods getone(Long id);

    List<Goods> getall(GoodsForm form);

}
